#pragma once

#include "dictreader.h"
#include "bglfile.h"

#include <wx/wx.h>

class DictBuilder;

class BGLReader : public DictReader
{
  public:
    BGLReader( wxString filename, DictBuilder *builder, const wxString &source_charset, const wxString &target_charset);
    virtual ~BGLReader() {} 
    virtual bool convert();
    wxString filename() const { return m_babylon->file_name; }

  protected:
    BGLFile *m_babylon;
};
